ci: Move style-check to .pre phase
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 25 Feb 2020 17:57:46 +0000 (17:57 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 25 Feb 2020 17:57:46 +0000 (17:57 +0000)
We want the style checks running at the start of the CI pipeline, no
need to have a specific phase for it.

.gitlab-ci.yml

index f435e3d4175d2d23612f6ad86a6a6badbd899976..1166c50f2efe0214196baec4418e1e1c877d07dd 100644 (file)
@@ -1,5 +1,4 @@
 stages:
-  - analysis
   - build
   - docs
   - flatpak
@@ -28,7 +27,7 @@ variables:
 style-check-diff:
   extends: .only-default
   image: registry.gitlab.gnome.org/gnome/gtk/fedora:v14
-  stage: analysis
+  stage: .pre
   allow_failure: true
   script:
     - .gitlab-ci/run-style-check-diff.sh